package com.mobileClientKernel.android.serviceLayer.httpTransportService.info;

import android.content.Intent;

/**
 * Created by gongjian on 2018/4/28.
 */

public class JJTHttpTransportServiceInfoManager {

    private String appVersion;
    private String terminalType;
    private boolean isUserDidOnLine;
    private String userID;

    private static JJTHttpTransportServiceInfoManager instance = new JJTHttpTransportServiceInfoManager();

    public static JJTHttpTransportServiceInfoManager getInstance() {
        return instance;
    }

    public void actionAfterLogin(Intent intent) {
        isUserDidOnLine = true;
    }

    public void actionAfterLogout(Intent intent) {
        isUserDidOnLine = false;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public String getTerminalType() {
        return terminalType;
    }

    public void setTerminalType(String terminalType) {
        this.terminalType = terminalType;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public boolean isUserDidOnLine() {
        return isUserDidOnLine;
    }

    public void setUserDidOnLine(boolean userDidOnLine) {
        isUserDidOnLine = userDidOnLine;
    }
}
